package _23pattern.creational.singleton.m1;

//懒汉式，线程不安全
public class SingleObject {
	private static SingleObject instance;

	private SingleObject() {
	}

	public static SingleObject getInstance() {
		if (instance == null) {
			instance = new SingleObject();
		}
		return instance;
	}
}
